package com.test.qpbgboot.schedule.service;

import com.test.qpbgboot.schedule.pojo.dto.OrderCreateParam;
import com.test.qpbgboot.schedule.pojo.dto.OrderQuery;
import com.test.qpbgboot.schedule.pojo.dto.OrderUpdateParam;
import com.test.qpbgboot.schedule.pojo.vo.OrderInfoVO;

import java.util.List;
import java.util.Map;

public interface OrderService {
    List<OrderInfoVO> orderSelect(OrderQuery orderQuery);

    void orderCreate(OrderCreateParam orderCreateParam);

    void orderUpdate(OrderUpdateParam orderUpdateParam);

    void orderDelete(Long orderId);

    void orderPay(Long orderId);

    String orderAlipay(Long orderId);

    void orderAlipayNotify(Map<String, String> params);

    void orderAllCancelByShopId(Long shopId);

    void autoAttendedJobImpl(String orderNo);

    boolean checkOrderPaid(Long orderId);

    void orderRefund(Long id);
}
